import { NgModule } from '@angular/core';
import { DictionaryViewComponent } from './dictionary/dictionary-view.component';
import { SharedModule } from '@shared';
import { DictionaryListComponent } from './dictionary/dictionary-list.component';
import { DictionaryDetailComponent } from './dictionary/dictionary-detail.component';
import { DictionaryValueListComponent } from './dictionary/dictionary-value-list.component';
import { DcitionaryValueDetailComponent } from './dictionary/dictionary-value-detail.component';
import { ConfigurationViewComponent } from './configuration/configuration-view.component';
import { ConfigurationListComponent } from './configuration/configuration-list.component';
import { ConfigurationDetailComponent } from './configuration/configuration-detail.component';
import { SystemFileViewComponent } from './system-file/system-file-view.component';
import { SystemFileListComponent } from './system-file/system-file-list.component';
import { SystemFileDetailComponent } from './system-file/system-file-detail.component';

const COMPONENTS = [
  // 字典管理
  DictionaryViewComponent,
  DictionaryListComponent,
  DictionaryDetailComponent,
  DictionaryValueListComponent,
  DcitionaryValueDetailComponent,
  // 系统全局参数配置管理
  ConfigurationViewComponent,
  ConfigurationListComponent,
  ConfigurationDetailComponent,
  // 文件管理
  SystemFileViewComponent,
  SystemFileListComponent,
  SystemFileDetailComponent,
];
@NgModule({
  declarations: [...COMPONENTS],
  imports: [SharedModule],
  exports: [...COMPONENTS],
})
export class GlobalComponentModule {}
